def sendEmail(status,emailUser)
{
    emailext body: """<!DOCTYPE html>
    <html>
    <head><metacharset="UTF-8"></head> 
    <bodyleftmargin="8 "marginwidth="0" topmargin="8"marginheight="4"offset="0">
    <imgsrc="http://192.168.1.200:8080/static/0eef74bf/images/headshot.png">
    <table width="95%"cellpadding="0"cellspacing="0"
    style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
    <tr>
    <td><br/><b>
    <font color="#0B610B">构建信息</font>
    </b></td></tr>
    <tr>
    <td><ul>
    <li>项目名称：${JOB_NAME}</li>
    <li>构建编号：${BUILD_ID}</li>
    <li>构建状态: ${status} </li>
    <li>项目地址：<ahref="${BUILD_URL}">${BUILD_URL}</a></li><li>构建日志：
    <a href="${BUILD_URL}console">${BUILD_URL}console</a>
    </li></ul></td>
    </tr>
    <tr>
    </table>
    </body>
    </html> """,
    subject: "Jenkins-${JOB_NAME}项目构建信息 ",to: emailUser
    }

    return this 